package com.monkey.toolsshop.common.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class loginController {
    /*
     * 登录页面
     * */
    @RequestMapping(value = "/login")
    public String login() {
        return "login";
    }

    /*
     * 欢迎页面
     * */
    @GetMapping(value = "/welcome")
    public String welcome() {
        return "welcome";
    }
}